package com.sunyard.utils.Response;

import lombok.Data;

/**
 * @ClassName: Response
 * @PackageName: com.sunyard.trade.util.response
 * @Deescription:
 * @Author: chencheng
 * @Date: 2021-01-01
 * @Version: V1.0
 **/
@Data
public class Response {
    /**
     * 返回码
     */
    private int respCode;

    /**
     * 返回详情
     */
    private String respData;


    public Response(int respCode, String respData) {
        this.respCode = respCode;
        this.respData = respData;
    }

    public Response() {
    }

    @Override
    public String toString() {
        return "Response{" +
                "respCode='" + respCode + '\'' +
                ", respData='" + respData + '\'' +
                '}';
    }
}
